import React from "react";
export default function AreaOptions(props) {
  const { value } = props;
  //地区字段
  let areaObj = {};
  if (typeof value === "string" && value.trim() !== "") {
    try {
      areaObj = JSON.parse(value);
    } catch (error) {
      console.error("地区字段异常:", error);
    }
  }

  return <div> {areaObj.name || ""}</div>;
}
